package com.nikolaj.kuzan.controller;

import com.nikolaj.kuzan.utils.CharToDouble;

/**
 * Created by Nikolay on 08.05.14.
 */

public class OrigSymbols {

    private static String i_32 =
            "11111100000000000000000111111111"+
            "11111100000000000000000111111111"+
            "11111100000000000000000111111111"+
            "11111100000000000001111111111111"+
            "11111100000000000001111111111111"+
            "11111100000000000001111111111111"+
            "11111100000000000001111111111111"+
            "11111100000000000001111111111111"+
            "11111100000000000001111111111111"+
            "11111100000000001111111111111111"+
            "11111100000000001111111000111111"+
            "11111100000000001111111000111111"+
            "11111100000000001111111000111111"+
            "11111100000001111110000000111111"+
            "11111100000001111110000000111111"+
            "11111100000001111110000000111111"+
            "11111100000001111110000000111111"+
            "11111100000001111110000000111111"+
            "11111100000001111110000000111111"+
            "11111100011111110000000000111111"+
            "11111100011111110000000000111111"+
            "11111100011111110000000000111111"+
            "11111111111111110000000000111111"+
            "11111111111111110000000000111111"+
            "11111111111111110000000000111111"+
            "11111111111111110000000000111111"+
            "11111111111110000000000000111111"+
            "11111111111110000000000000111111"+
            "11111111111110000000000000111111"+
            "11111111100000000000000000111111"+
            "11111111100000000000000000111111"+
            "11111111100000000000000000111111";

    private static String a_32 =
            "00000000000001111110000000000000"+
            "00000000000001111110000000000000"+
            "00000000000001111110000000000000"+
            "00000000000001111110000000000000"+
            "00000000000001111110000000000000"+
            "00000000000001111110000000000000"+
            "00000000011111111111111000000000"+
            "00000000011111111111111000000000"+
            "00000000011111111111111000000000"+
            "00000000011111111111111000000000"+
            "00000000011110000001111000000000"+
            "00000000011110000001111000000000"+
            "00000000011110000001111000000000"+
            "00000011111110000001111111000000"+
            "00000011111110000001111111000000"+
            "00000011111110000001111111000000"+
            "00000011100000000000000111000000"+
            "00000011100000000000000111000000"+
            "00000011100000000000000111000000"+
            "00011111111111111111111111111000"+
            "00011111111111111111111111111000"+
            "00011111111111111111111111111000"+
            "00011111111111111111111111111000"+
            "00011111111111111111111111111000"+
            "00011111111111111111111111111000"+
            "00011111111111111111111111111000"+
            "11111100000000000000000000111111"+
            "11111100000000000000000000111111"+
            "11111100000000000000000000111111"+
            "11111100000000000000000000111111"+
            "11111100000000000000000000111111"+
            "11111100000000000000000000111111";

    private static String b_32 =
            "11111111111111111111111000000000"+
            "11111111111111111111111000000000"+
            "11111111111111111111111000000000"+
            "11111111111111111111111000000000"+
            "11111111111111111111111000000000"+
            "11111111111111111111111000000000"+
            "11111100000000000000000000000000"+
            "11111100000000000000000000000000"+
            "11111100000000000000000000000000"+
            "11111111111111111110000000000000"+
            "11111111111111111110000000000000"+
            "11111111111111111110000000000000"+
            "11111111111111111110000000000000"+
            "11111111111111111111111000000000"+
            "11111111111111111111111000000000"+
            "11111111111111111111111000000000"+
            "11111100000000001111111111000000"+
            "11111100000000001111111111000000"+
            "11111100000000001111111111000000"+
            "11111100000000000001111111000000"+
            "11111100000000000001111111000000"+
            "11111100000000000001111111000000"+
            "11111100000000001111111111000000"+
            "11111100000000001111111111000000"+
            "11111100000000001111111111000000"+
            "11111100000000001111111111000000"+
            "11111111111111111111111000000000"+
            "11111111111111111111111000000000"+
            "11111111111111111111111000000000"+
            "11111111111111111110000000000000"+
            "11111111111111111110000000000000"+
            "11111111111111111110000000000000";

    private static String k_32 =
            "11111111100000000000000111111111"+
            "11111111100000000000000111111111"+
            "11111111100000000000000111111111"+
            "11111111100000000001111111111000"+
            "11111111100000000001111111111000"+
            "11111111100000000001111111111000"+
            "11111111100000001111111111000000"+
            "11111111100000001111111111000000"+
            "11111111100000001111111111000000"+
            "11111111100001111111111111000000"+
            "11111111100001111111111000000000"+
            "11111111100001111111111000000000"+
            "11111111100001111111111000000000"+
            "11111111111111111110000000000000"+
            "11111111111111111110000000000000"+
            "11111111111111111110000000000000"+
            "11111111111111111110000000000000"+
            "11111111111111111110000000000000"+
            "11111111111111111110000000000000"+
            "11111111100001111111111000000000"+
            "11111111100001111111111000000000"+
            "11111111100001111111111000000000"+
            "11111111100001111111111111000000"+
            "11111111100000001111111111000000"+
            "11111111100000001111111111000000"+
            "11111111100000001111111111000000"+
            "11111111100000000001111111111000"+
            "11111111100000000001111111111000"+
            "11111111100000000001111111111000"+
            "11111111100000000000000111111111"+
            "11111111100000000000000111111111"+
            "11111111100000000000000111111111";


    private static String o_32 =
            "00000000011111111111111000000000"+
            "00000000011111111111111000000000"+
            "00000000011111111111111000000000"+
            "00000011111111111111111111000000"+
            "00000011111111111111111111000000"+
            "00000011111111111111111111000000"+
            "00011111111110000001111111111000"+
            "00011111111110000001111111111000"+
            "00011111111110000001111111111000"+
            "00011111111110000001111111111000"+
            "00011111100000000000000111111000"+
            "00011111100000000000000111111000"+
            "00011111100000000000000111111000"+
            "00011111100000000000000111111000"+
            "00011111100000000000000111111000"+
            "00011111100000000000000111111000"+
            "00011111100000000000000111111000"+
            "00011111100000000000000111111000"+
            "00011111100000000000000111111000"+
            "00011111100000000000000111111000"+
            "00011111100000000000000111111000"+
            "00011111100000000000000111111000"+
            "00011111111110000001111111111000"+
            "00011111111110000001111111111000"+
            "00011111111110000001111111111000"+
            "00011111111110000001111111111000"+
            "00000011111111111111111111000000"+
            "00000011111111111111111111000000"+
            "00000011111111111111111111000000"+
            "00000000011111111111111000000000"+
            "00000000011111111111111000000000"+
            "00000000011111111111111000000000";

    private static String t_32 =
            "11111111111111111111111111111111"+
            "11111111111111111111111111111111"+
            "11111111111111111111111111111111"+
            "11111111111111111111111111111111"+
            "11111111111111111111111111111111"+
            "11111111111111111111111111111111"+
            "00000000000001111110000000000000"+
            "00000000000001111110000000000000"+
            "00000000000001111110000000000000"+
            "00000000000001111110000000000000"+
            "00000000000001111110000000000000"+
            "00000000000001111110000000000000"+
            "00000000000001111110000000000000"+
            "00000000000001111110000000000000"+
            "00000000000001111110000000000000"+
            "00000000000001111110000000000000"+
            "00000000000001111110000000000000"+
            "00000000000001111110000000000000"+
            "00000000000001111110000000000000"+
            "00000000000001111110000000000000"+
            "00000000000001111110000000000000"+
            "00000000000001111110000000000000"+
            "00000000000001111110000000000000"+
            "00000000000001111110000000000000"+
            "00000000000001111110000000000000"+
            "00000000000001111110000000000000"+
            "00000000000001111110000000000000"+
            "00000000000001111110000000000000"+
            "00000000000001111110000000000000"+
            "00000000000001111110000000000000"+
            "00000000000001111110000000000000"+
            "00000000000001111110000000000000";

    private static String m_32 =
            "11111111100000000000000111111111"+
            "11111111100000000000000111111111"+
            "11111111100000000000000111111111"+
            "11111111111110000001111111111111"+
            "11111111111110000001111111111111"+
            "11111111111110000001111111111111"+
            "11111111111111111111111111111111"+
            "11111111111111111111111111111111"+
            "11111111111111111111111111111111"+
            "11111111111111111111111111111111"+
            "11111100011111111111111000111111"+
            "11111100011111111111111000111111"+
            "11111100011111111111111000111111"+
            "11111100000001111110000000111111"+
            "11111100000001111110000000111111"+
            "11111100000001111110000000111111"+
            "11111100000000000000000000111111"+
            "11111100000000000000000000111111"+
            "11111100000000000000000000111111"+
            "11111100000000000000000000111111"+
            "11111100000000000000000000111111"+
            "11111100000000000000000000111111"+
            "11111100000000000000000000111111"+
            "11111100000000000000000000111111"+
            "11111100000000000000000000111111"+
            "11111100000000000000000000111111"+
            "11111100000000000000000000111111"+
            "11111100000000000000000000111111"+
            "11111100000000000000000000111111"+
            "11111100000000000000000000111111"+
            "11111100000000000000000000111111"+
            "11111100000000000000000000111111";

    private static String p_32 =
            "11111111111111111110000000000000"+
            "11111111111111111110000000000000"+
            "11111111111111111110000000000000"+
            "11111111111111111111111000000000"+
            "11111111111111111111111000000000"+
            "11111111111111111111111000000000"+
            "11111100000000001111111111000000"+
            "11111100000000001111111111000000"+
            "11111100000000001111111111000000"+
            "11111100000000001111111111000000"+
            "11111100000000000001111111000000"+
            "11111100000000000001111111000000"+
            "11111100000000000001111111000000"+
            "11111100000000001111111111000000"+
            "11111100000000001111111111000000"+
            "11111100000000001111111111000000"+
            "11111111111111111111111000000000"+
            "11111111111111111111111000000000"+
            "11111111111111111111111000000000"+
            "11111111111111110000000000000000"+
            "11111111111111110000000000000000"+
            "11111111111111110000000000000000"+
            "11111111111111110000000000000000"+
            "11111100000000000000000000000000"+
            "11111100000000000000000000000000"+
            "11111100000000000000000000000000"+
            "11111100000000000000000000000000"+
            "11111100000000000000000000000000"+
            "11111100000000000000000000000000"+
            "11111100000000000000000000000000"+
            "11111100000000000000000000000000"+
            "11111100000000000000000000000000";

    public static Double[] getISymbolVector (){
        char[] iCharSymbol = i_32.toCharArray();
        Double[] iDoubleSymbol = new Double[iCharSymbol.length];

        for(int i = 0; i < iCharSymbol.length; i++){
            iDoubleSymbol[i] = CharToDouble.getDoubleFromChar(iCharSymbol[i]);
        }
        return iDoubleSymbol;
    }

    public static Double[] getASymbolVector (){
        char[] aCharSymbol = a_32.toCharArray();
        Double[] aDoubleSymbol = new Double[aCharSymbol.length];

        for(int i = 0; i < aCharSymbol.length; i++){
            aDoubleSymbol[i] = CharToDouble.getDoubleFromChar(aCharSymbol[i]);
        }
        return aDoubleSymbol;
    }

    public static Double[] getBSymbolVector (){
        char[] bCharSymbol = b_32.toCharArray();
        Double[] bDoubleSymbol = new Double[bCharSymbol.length];

        for(int i = 0; i < bCharSymbol.length; i++){
            bDoubleSymbol[i] = CharToDouble.getDoubleFromChar(bCharSymbol[i]);
        }
        return bDoubleSymbol;
    }

    public static Double[] getKSymbolVector (){
        char[] kCharSymbol = k_32.toCharArray();
        Double[] kDoubleSymbol = new Double[kCharSymbol.length];

        for(int i = 0; i < kCharSymbol.length; i++){
            kDoubleSymbol[i] = CharToDouble.getDoubleFromChar(kCharSymbol[i]);
        }
        return kDoubleSymbol;
    }

    public static Double[] getOSymbolVector (){
        char[] oCharSymbol = o_32.toCharArray();
        Double[] oDoubleSymbol = new Double[oCharSymbol.length];

        for(int i = 0; i < oCharSymbol.length; i++){
            oDoubleSymbol[i] = CharToDouble.getDoubleFromChar(oCharSymbol[i]);
        }
        return oDoubleSymbol;
    }

    public static Double[] getTSymbolVector (){
        char[] tCharSymbol = t_32.toCharArray();
        Double[] tDoubleSymbol = new Double[tCharSymbol.length];

        for(int i = 0; i < tCharSymbol.length; i++){
            tDoubleSymbol[i] = CharToDouble.getDoubleFromChar(tCharSymbol[i]);
        }
        return tDoubleSymbol;
    }

    public static Double[] getMSymbolVector (){
        char[] mCharSymbol = m_32.toCharArray();
        Double[] mDoubleSymbol = new Double[mCharSymbol.length];

        for(int i = 0; i < mCharSymbol.length; i++){
            mDoubleSymbol[i] = CharToDouble.getDoubleFromChar(mCharSymbol[i]);
        }
        return mDoubleSymbol;
    }

    public static Double[] getPSymbolVector (){
        char[] pCharSymbol = p_32.toCharArray();
        Double[] pDoubleSymbol = new Double[pCharSymbol.length];

        for(int i = 0; i < pCharSymbol.length; i++){
            pDoubleSymbol[i] = CharToDouble.getDoubleFromChar(pCharSymbol[i]);
        }
        return pDoubleSymbol;
    }

}